package com.ss.android.crash.log;

import android.app.Activity;
import android.app.Application;
import android.os.Bundle;

final class g implements Application.ActivityLifecycleCallbacks {
    private final f a;

    g(f arg1) {
        this.a = arg1;

    }

    public final void onActivityCreated(Activity arg5, Bundle arg6) {
        String v0 = arg5.getClass().getName();
        this.a.a.add(v0);
        this.a.c = v0 + "(" + String.valueOf(System.currentTimeMillis()) + ")";
    }

    public final void onActivityDestroyed(Activity arg3) {
        String v0 = arg3.getClass().getName();
        this.a.a.remove(v0);
        this.a.b.add(v0);
    }

    public final void onActivityPaused(Activity arg1) {
    }

    public final void onActivityResumed(Activity arg5) {
        this.a.d = arg5.getClass().getName() + "(" + String.valueOf(System.currentTimeMillis()) + ")";
        if(this.a.e != null) {
            this.a.e.a();
        }
    }

    public final void onActivitySaveInstanceState(Activity arg1, Bundle arg2) {
    }

    public final void onActivityStarted(Activity arg1) {
    }

    public final void onActivityStopped(Activity arg1) {
    }
}

